package com.machine.filling.net.serialPort.send;

/**
 * Created by Administrator on 2018/4/14 0014.
 * <p>
 * 设置油机1104
 */

public class CMD_SetMachine {
    private String gunNum_1;
    private String unitPrice_1;
    private String midu_4;
    private String time_7;
    private String typeName_1;
    private String stationName_1;

    public String getHexStr() {
        return /*getGunNum_1() + */getUnitPrice_1() + getMidu_4() + getTime_7() + getTypeName_1() + getStationName_1();
    }

    public String getGunNum_1() {
        return gunNum_1;
    }

    public void setGunNum_1(String gunNum_1) {
        this.gunNum_1 = gunNum_1;
    }

    public String getUnitPrice_1() {
        return unitPrice_1;
    }

    public void setUnitPrice_1(String unitPrice_1) {
        this.unitPrice_1 = unitPrice_1;
    }

    public String getMidu_4() {
        return midu_4 == null ? "00000000" : midu_4;
    }

    public void setMidu_4(String midu_4) {
        this.midu_4 = midu_4;
    }

    public String getTime_7() {
        return time_7 == null ? "00000000000000" : time_7;
    }

    public void setTime_7(String time_7) {
        this.time_7 = time_7;
    }

    public String getTypeName_1() {
        return typeName_1 == null ? "00" : typeName_1;
    }

    public void setTypeName_1(String typeName_1) {
        this.typeName_1 = typeName_1;
    }

    public String getStationName_1() {
        return stationName_1 == null ? "00" : stationName_1;
    }

    public void setStationName_1(String stationName_1) {
        this.stationName_1 = stationName_1;
    }
}
